package com.st.core.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author shent
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginRequest {

    private String username;

    private String password;

    private Integer clientType;

    private Integer userType;

    private Boolean rememberMe;

    private String validateCode;

    private String clientIp;

    public boolean isValid() {
        return username != null && password != null;
    }

}
